package oop.more;

//static
public class StaticMean {

    private static int age;
    private double score;

    {
        //代码块(匿名代码块)
        System.out.println("匿名代码块");
    }

    static {
        //静态代码块
        System.out.println("静态代码块");
    }

    public StaticMean() {
        System.out.println("构造方法");
    }

    public static void main(String[] args) {
        StaticMean mean = new StaticMean();

    }
}
